<!-- <html>
<head>
<style type="text/css">
.ui-corner-bottom { 
	-moz-border-radius-bottomleft: 4px; 
	-webkit-border-bottom-left-radius: 4px; 
	-moz-border-radius-bottomright: 4px; 
	-webkit-border-bottom-right-radius: 4px; 
}

.ui-corner-top { 
	-moz-border-radius-topleft: 4px; 
	-webkit-border-top-left-radius: 4px; 
	-moz-border-radius-topright: 4px; 
	-webkit-border-top-right-radius: 4px; 
}

.spacingColumnWidthLess {
	width: 10px;
}
.spacingColumnWidthMedium {
	width: 40px;
}
.spacingColumnWidthHigh {
	width: 50px;
}
 
.loginPageFont{
	font-family: verdana;
	font-size: 20px;
	color: #FFFFFF;
}

.loginPageBlocksFont{
	font-family: verdana;
	font-size: 14px;
	color: #FFFFFF;
}

.middleUpper{
	background-color: #00345D;
	color: #FFFFFF;
}

.middleLower{
	background-color: #FFFFFF;
	color: #666666;
}

.loginGradient{
	background-image:url('./customTheme/images/grey_gradient.gif'); 
	background-repeat:repeat-x; 
	background-position:center;
}

.middleLowerBorder {
	border: 1px;
	border-style: solid;
	border-color: gray;
	border-top: 0px;
}

.formSpacingRow{
	height: 10px;
}
</style>
</head>
<body>
<div id="pageDiv">
	<table style="width: 100%; height: 100%;">
		<tr style="width: 10%;">
			<td style="width: 10%;">&nbsp;</td>
			<td style="width: 80%;"> <img alt="BLSC" src="./customTheme/images/BlueLotus.png" /> </td>
			<td style="width: 10%;"> <img alt="BLSC" src="./customTheme/loginImages/BLSC-corner.png" style="width: 58px; vertical-align: top;" align="right" /> </td>
		</tr>
		<tr style="width: 80%;">
			<td style="width: 10%;">&nbsp;</td>
			<td style="width: 80%;">
				<table style="width: 100%; height: 100%; border-spacing: 0px; padding: 0px;" class="middleLowerBorder">
					<tr class="middleUpper">
						<td>
							<table style="width: 100%;">
								<tr>
									<td style="width: 70%;">
										<label style="padding-left: 40px;" class="loginPageFont"> 
											Welcome to the e-Compliance Suite. <br/>
										</label>
										<label style="padding-left: 40px;" class="loginPageFont">  
											Please make a selection to move further:
										</label> 
										
									</td>
									<td style="width: 30%;">
										<table style="width: 100%;">
											<tr style="padding:0px; margin:0px; border-spacing:0px; border: 0px;">
												<td style="padding:0px; margin:0px; border-spacing:0px; border: 0px; width: 30%;" align="right"> <img style="width: 40px;" alt="Executive Dashboard" src="./customTheme/loginImages/Shield.png"> </td>
												<td style="width: 70%; padding:0px; margin:0px; border-spacing:0px; border: 0px;">
													<table>
														<tr></tr>
														<tr style="background-color: #CF2D34; width: 70%;">
															<td style="padding-left: 10px; color: #FFFFFF; font-family: verdana; font-size: 16px;">
																EXECUTIVE DASHBOARD >
															</td>
														</tr>
														<tr></tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr style="padding: 0px;">
									<td colspan="2" style="vertical-align: bottom; padding: 0px;">
									<table style="width: 100%;">
										<tr align="center">
											<td class="spacingColumnWidthMedium" style="padding: 0px;"></td>
											<td style="background-color: #1B75BB; width: 19%; padding: 0px;" class="ui-corner-top loginPageBlocksFont"><span>LABOUR + INDUSTRIAL COMPLIANCES</span></td>
											<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
											<td style="background-color: #1B75BB; width: 19%; padding: 0px;" class="ui-corner-top loginPageBlocksFont"><span >DOCUMENT MANAGEMENT</span></td>
											<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
											<td style="background-color: #1B75BB; width: 19%; padding: 0px;" class="ui-corner-top loginPageBlocksFont"><span>FINANCIAL COMPLIANCES</span></td>
											<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
											<td style="background-color: #1B75BB; width: 19%; padding: 0px;" class="ui-corner-top loginPageBlocksFont"><span>EVENT BASED</span></td>
											<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
											<td style="background-color: #1B75BB; width: 19%; padding: 0px;" class="ui-corner-top loginPageBlocksFont"><span>PHASE BASED</span></td>
											<td class="spacingColumnWidthMedium"></td>
										</tr>
									</table>
									</td>
								</tr>	
							</table>
						</td>
					</tr>
					<tr class="middleLower">
						<td colspan="2" style="vertical-align: bottom; padding: 0px;">
							<table style="width: 100%;">
								<tr align="center" style="padding: 0px;">
									<td class="spacingColumnWidthMedium" style="padding: 0px;"></td>
									<td style="width: 19%; padding: 0px;" class="ui-corner-bottom loginPageBlocksFont loginGradient middleLowerBorder"> 
										<table>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr>
												<td>
													<a target="_blank" href="/LCMLocal/login.htm"><span><img alt="" src="./customTheme/loginImages/LCM.png" /></span></a>
												</td>
											</tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
										</table>
									</td>
									<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
									<td style="width: 19%; padding: 0px;" class="ui-corner-bottom loginPageBlocksFont loginGradient middleLowerBorder">
										<table>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr>
											<td>
												<a target="_blank" href="/DMS/login.htm" ><span><img alt="" src="./customTheme/loginImages/DMS.png" /></span></a>
											</td>
											</tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
										</table>
									</td>
									<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
									<td style="width: 19%; padding: 0px;" class="ui-corner-bottom loginPageBlocksFont loginGradient middleLowerBorder">
										<table>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr>
											<td>
												<a target="_blank" href="/FCM/login.htm"><span><img alt="" src="./customTheme/loginImages/FCM.png" /></span></a>
											</td>
											</tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
										</table>
									</td>
									<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
									<td style="width: 19%; padding: 0px;" class="ui-corner-bottom loginPageBlocksFont loginGradient middleLowerBorder"> 
										<table>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr>
												<td>
													<a target="_blank" href="/LegComp/login.htm"><span><img alt="" src="./customTheme/loginImages/LCM.png" /></span></a>
												</td>
											</tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
										</table>
									</td>
									<td class="spacingColumnWidthLess" style="padding: 0px;"></td>
									<td style="width: 19%; padding: 0px;" class="ui-corner-bottom loginPageBlocksFont loginGradient middleLowerBorder"> 
										<table>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr>
												<td>
													<a target="_blank" href="/Phase/login.htm"><span><img alt="" src="./customTheme/loginImages/LCM.png" /></span></a>
												</td>
											</tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
											<tr class="formSpacingRow"><td></td> </tr>
										</table>
									</td>
									<td class="spacingColumnWidthMedium" style="padding: 0px;"></td>
								</tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
							</table>
							<table>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
								<tr class="formSpacingRow"><td></td> </tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
			<td style="width: 10%;">&nbsp;</td>
		</tr>
		<tr style="width: 10%;">
			<td style="width: 10%;">&nbsp;</td>
			<td style="width: 80%;" align="right"><img alt="GSS" style="width: 13em;" src="./customTheme/images/JPGlogoColorSmall_old.jpg" /></td>
			<td style="width: 10%;">&nbsp;</td>
		</tr>	
	</table>
</div>
</body>
</html> -->






<%@ include file="common.jsp"%>
<%@ include file="loadJsAndCss.jsp"%>
<html>
<style type="text/css">
	html,body {
		height: 100%;
		width: 100%;
		overflow: hidden;
	}
</style>
<title>Welcome. Please Login</title>

<script type="text/javascript">
  $(document).ready(function(){
	createLoginDialog();
	createforgetpasswordDialog();
	$("input[name='j_username']").focus();
	
});
 
//  window.location = "${redirectUrl}";

</script>
<!-- 
<body style="height: 100%; overflow: hidden; vertical-align: middle;">
	<div id="login" align="center"
		style="overflow: hidden !important; height: 100%;">
		<table style="width: 98%; height: 100%">
			<tr style="height: 35%; background-color: #00345D;">
				<td></td>
			</tr>
			<tr style="height: 30%; background-color: #F9F9F9;">
				<td>
					<table class="fullUse">
						<tr>
							<td align="left" style="width: 50%; padding: 0px 0px 0px 40px;">
								<img alt="" src="./customTheme/images/BlueLotus.png">&nbsp;
							</td>
							<td align="right" style="padding: 0px 40px 0px 00px;">
							<img alt="" src="./customTheme/images/JPGlogoColorSmall.jpg"> &nbsp;
							</td>
						</tr>
					</table></td>
			</tr>
			<tr style="height: 35%; background-color: #00345D;">
				<td></td>
			</tr>
		</table>
	</div>
</body> -->
<div id="loginDiv" align="center" class="loginDivColor loginDivFont">
	<form action="<c:url value='j_spring_security_check'/>" method="post">
		<table style="width: 80%;" align="center">
			<tr>
				<td align="center"><img alt=""
					src="./customTheme/images/DMS.png"></td>
			</tr>
			<tr class="formSpacingRow"></tr>
			<tr class="formSpacingRow"></tr>

			<tr>
				<td align="left"><label for="j_username">User Name:</label></td>
			</tr>
			<tr>
				<td align="center" class="formField input"><input
					name="j_username" class="text ui-widget-content ui-corner-all"
					value='<c:if test="${not empty login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>' />
				</td>
			</tr>

			<tr class="formSpacingRow"></tr>

			<tr>
				<td align="left"><label for="j_password">Password:</label></td>
			</tr>
			<tr>
				<td align="center" class="formField input"><input
					type="password" name="j_password"
					class="text ui-widget-content ui-corner-all" /></td>
			</tr>

			<tr class="formSpacingRow"></tr>


			<tr>
				<td align="center"><input type="submit" value="LOGIN"
					class="loginButton buttonFont buttonColor" /></td>
			</tr>
		</table>
		<table style="width: 100%;">
			<tbody style="width: 100%;">
				<tr>
					<td align="left" style="width: 70%; vertical-align: bottom;">
						<table>
							<tr>
								<td>
									<c:if test="${not empty param.login_error}">
										<span class="errorMessage">Your login attempt was not successful, try again.</span>
									</c:if>			
								</td>
							</tr>
							<tr>
								<td>
									<c:if test="${enableForgetPassword eq 1}">
										<a href="#" onclick="forgetPassword();">Forgot Password</a>
									</c:if>
								</td>
							</tr>
						</table>
					</td>
					<td align="right">
						<table>
							<tr>
								<td><img alt="" src="./customTheme/images/WaterMark.png">
								</td>
							</tr>
						</table></td>
				</tr>
			</tbody>
		</table>
	</form>
</div>
<div id="forgetPasswordDiv" title="Forget Password">
	<div id="passwordContent" class="hide" align="center">
	<table>
		<tr>
			<td>
				<label for="userName">Enter User Id</label>
			</td>
			<td>
				<input type="text" id="userName"></input>
			</td>
		</tr>
	</table>
	</div>
</div>
</html>